<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>get</title>
</head>

<body>
    <script src="../src/ajax.js"></script>
    <script>

        Ajax({
            method: 'get',
            url: '/base/get',
            params: {
                foo: ['bar', 'baz']
            }
        })

        Ajax({
            method: 'get',
            url: '/base/get',
            params: {
                foo: {
                    bar: 'baz'
                }
            }
        })

        Ajax({
            method: 'get',
            url: '/base/get',
            params: {
                date: new Date()
            }
        })

        Ajax({
            method: 'get',
            url: '/base/get',
            params: {
                foo: '@:$, '
            }
        })

        Ajax({
            method: 'get',
            url: '/base/get',
            params: {
                foo: 'bar',
                baz: null
            }
        })

        Ajax({
            method: 'get',
            url: '/base/get#hash',
            params: {
                foo: 'bar'
            }
        })

        Ajax({
            method: 'get',
            url: '/base/get?foo=bar',
            params: {
                bar: 'baz'
            }
        })
    </script>
</body>

</html>